import axios from 'axios'
export const userService = {
  getUsers(params = {}) {
    return axios({
      baseURL: process.env.VUE_APP_BASE_API,
      url: '/users',
      method: 'get',
      headers: {
        'Authorization': localStorage.getItem('token')
      },
      params
    })
  }
}